//获取套餐列表
export const getPackageList = (params) => uni.$u.http.get('/rest/app/credit/packageList', {params:params})

// 充值算力
export const recharge = (data) => uni.$u.http.post('/rest/app/credit/recharge', data)

//获取算力记录列表
export const getCreditList = (params) => uni.$u.http.get('/rest/app/credit/list', {params:params})

//获取分享列表
export const getShareConversion = (params) => uni.$u.http.get('/rest/app/shareConversion/list', {params:params})
//获取分享列表
export const getShareTotalAmount = (params) => uni.$u.http.get('/rest/app/shareConversion/getTotalAmount', {params:params})

